package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/ShortcutMenu.class */
public class ShortcutMenu {
    private Integer id;
    private String name;
    private String icon;
    private Integer sort;
    private String path;
    private Integer menuId;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof ShortcutMenu)) {
            return false;
        }
        ShortcutMenu other = (ShortcutMenu) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$name = getName();
        Object other$name = other.getName();
        if (this$name == null) {
            if (other$name != null) {
                return false;
            }
        } else if (!this$name.equals(other$name)) {
            return false;
        }
        Object this$icon = getIcon();
        Object other$icon = other.getIcon();
        if (this$icon == null) {
            if (other$icon != null) {
                return false;
            }
        } else if (!this$icon.equals(other$icon)) {
            return false;
        }
        Object this$sort = getSort();
        Object other$sort = other.getSort();
        if (this$sort == null) {
            if (other$sort != null) {
                return false;
            }
        } else if (!this$sort.equals(other$sort)) {
            return false;
        }
        Object this$path = getPath();
        Object other$path = other.getPath();
        if (this$path == null) {
            if (other$path != null) {
                return false;
            }
        } else if (!this$path.equals(other$path)) {
            return false;
        }
        Object this$menuId = getMenuId();
        Object other$menuId = other.getMenuId();
        return this$menuId == null ? other$menuId == null : this$menuId.equals(other$menuId);
    }

    protected boolean canEqual(Object other) {
        return other instanceof ShortcutMenu;
    }

    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $name = getName();
        int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode());
        Object $icon = getIcon();
        int result3 = (result2 * 59) + ($icon == null ? 43 : $icon.hashCode());
        Object $sort = getSort();
        int result4 = (result3 * 59) + ($sort == null ? 43 : $sort.hashCode());
        Object $path = getPath();
        int result5 = (result4 * 59) + ($path == null ? 43 : $path.hashCode());
        Object $menuId = getMenuId();
        return (result5 * 59) + ($menuId == null ? 43 : $menuId.hashCode());
    }

    public String toString() {
        return "ShortcutMenu(id=" + getId() + ", name=" + getName() + ", icon=" + getIcon() + ", sort=" + getSort() + ", path=" + getPath() + ", menuId=" + getMenuId() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    public String getIcon() {
        return this.icon;
    }

    public Integer getSort() {
        return this.sort;
    }

    public String getPath() {
        return this.path;
    }

    public Integer getMenuId() {
        return this.menuId;
    }
}